package wox.lonice.dto.wechat;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class WeParam {

    private String action;
    private String token;
    private String lang = "zh_CN";
    private String f = "json";
    private Integer ajax = 1;
    private Double random;
    private String query;
    private Integer begin;
    private Integer count = 10;

    public String getAction() {
        return action;
    }

    public WeParam setAction(String action) {
        this.action = action;
        return this;
    }

    public String getToken() {
        return token;
    }

    public WeParam setToken(String token) {
        this.token = token;
        return this;
    }

    public String getLang() {
        return lang;
    }

    public WeParam setLang(String lang) {
        this.lang = lang;
        return this;
    }

    public String getF() {
        return f;
    }

    public WeParam setF(String f) {
        this.f = f;
        return this;
    }

    public Integer getAjax() {
        return ajax;
    }

    public WeParam setAjax(Integer ajax) {
        this.ajax = ajax;
        return this;
    }

    public Double getRandom() {
        return random;
    }

    public WeParam setRandom(Double random) {
        this.random = random;
        return this;
    }

    public String getQuery() {
        return query;
    }

    public WeParam setQuery(String query) {
        this.query = query;
        return this;
    }

    public Integer getBegin() {
        return begin;
    }

    public WeParam setBegin(Integer begin) {
        this.begin = begin;
        return this;
    }

    public Integer getCount() {
        return count;
    }

    public WeParam setCount(Integer count) {
        this.count = count;
        return this;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
